<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>PngHelperInternal (PNGJ 2.1.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="PngHelperInternal (PNGJ 2.1.0-SNAPSHOT API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PngHelperInternal.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../ar/com/hjg/pngj/IPngWriterFactory.html" title="interface in ar.com.hjg.pngj"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../ar/com/hjg/pngj/PngIDatChunkOutputStream.html" title="class in ar.com.hjg.pngj"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?ar/com/hjg/pngj/PngHelperInternal.html" target="_top">Frames</a></li>
<li><a href="PngHelperInternal.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">ar.com.hjg.pngj</div>
<h2 title="Class PngHelperInternal" class="title">Class PngHelperInternal</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>ar.com.hjg.pngj.PngHelperInternal</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">PngHelperInternal</span>
extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Some utility static methods for internal use.
 <p>
 Client code should not normally use this class
 <p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#charsetLatin1">charsetLatin1</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#charsetLatin1name">charsetLatin1name</a></strong></code>
<div class="block">Default charset, used internally by PNG for several things</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#charsetUTF8">charsetUTF8</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#charsetUTF8name">charsetUTF8name</a></strong></code>
<div class="block">UTF-8 is only used for some chunks</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#KEY_LOGGER">KEY_LOGGER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#LOGGER">LOGGER</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#PngHelperInternal()">PngHelperInternal</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#debug(java.lang.Object)">debug</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Prits a debug message (prints class name, method and line number)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#doubleToInt100000(double)">doubleToInt100000</a></strong>(double&nbsp;d)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#filterRowAverage(int, int, int)">filterRowAverage</a></strong>(int&nbsp;r,
                int&nbsp;left,
                int&nbsp;up)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#filterRowNone(int)">filterRowNone</a></strong>(int&nbsp;r)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#filterRowPaeth(int, int, int, int)">filterRowPaeth</a></strong>(int&nbsp;r,
              int&nbsp;left,
              int&nbsp;up,
              int&nbsp;upleft)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#filterRowSub(int, int)">filterRowSub</a></strong>(int&nbsp;r,
            int&nbsp;left)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#filterRowUp(int, int)">filterRowUp</a></strong>(int&nbsp;r,
           int&nbsp;up)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#getDigest(ar.com.hjg.pngj.PngReader)">getDigest</a></strong>(<a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj">PngReader</a>&nbsp;pngr)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#getPngIdSignature()">getPngIdSignature</a></strong>()</code>
<div class="block">PNG magic bytes</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#getRawIdatBytes(ar.com.hjg.pngj.PngReader)">getRawIdatBytes</a></strong>(<a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj">PngReader</a>&nbsp;r)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#initCrcForTests(ar.com.hjg.pngj.PngReader)">initCrcForTests</a></strong>(<a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj">PngReader</a>&nbsp;pngr)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#intToDouble100000(int)">intToDouble100000</a></strong>(int&nbsp;i)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#isDebug()">isDebug</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#istreamFromFile(java.io.File)">istreamFromFile</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;f)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#logdebug(java.lang.String)">logdebug</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readByte(java.io.InputStream)">readByte</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readBytes(java.io.InputStream, byte[], int, int)">readBytes</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is,
         byte[]&nbsp;b,
         int&nbsp;offset,
         int&nbsp;len)</code>
<div class="block">guaranteed to read exactly len bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readInt1fromByte(byte[], int)">readInt1fromByte</a></strong>(byte[]&nbsp;b,
                int&nbsp;offset)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readInt2(java.io.InputStream)">readInt2</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is)</code>
<div class="block">-1 if eof
 
 PNG uses "network byte order"</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readInt2fromBytes(byte[], int)">readInt2fromBytes</a></strong>(byte[]&nbsp;b,
                 int&nbsp;offset)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readInt4(java.io.InputStream)">readInt4</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is)</code>
<div class="block">-1 if eof</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#readInt4fromBytes(byte[], int)">readInt4fromBytes</a></strong>(byte[]&nbsp;b,
                 int&nbsp;offset)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#setDebug(boolean)">setDebug</a></strong>(boolean&nbsp;b)</code>
<div class="block">Sets a global debug flag.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#skipBytes(java.io.InputStream, long)">skipBytes</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is,
         long&nbsp;len)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeByte(java.io.OutputStream, byte)">writeByte</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
         byte&nbsp;b)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeByte(java.io.OutputStream, byte[])">writeByte</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
         byte[]&nbsp;bs)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeBytes(java.io.OutputStream, byte[])">writeBytes</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
          byte[]&nbsp;b)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeBytes(java.io.OutputStream, byte[], int, int)">writeBytes</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
          byte[]&nbsp;b,
          int&nbsp;offset,
          int&nbsp;n)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeInt2(java.io.OutputStream, int)">writeInt2</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
         int&nbsp;n)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeInt2tobytes(int, byte[], int)">writeInt2tobytes</a></strong>(int&nbsp;n,
                byte[]&nbsp;b,
                int&nbsp;offset)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeInt4(java.io.OutputStream, int)">writeInt4</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
         int&nbsp;n)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../ar/com/hjg/pngj/PngHelperInternal.html#writeInt4tobytes(int, byte[], int)">writeInt4tobytes</a></strong>(int&nbsp;n,
                byte[]&nbsp;b,
                int&nbsp;offset)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="KEY_LOGGER">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>KEY_LOGGER</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> KEY_LOGGER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#ar.com.hjg.pngj.PngHelperInternal.KEY_LOGGER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOGGER">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOGGER</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a> LOGGER</pre>
</li>
</ul>
<a name="charsetLatin1name">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charsetLatin1name</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> charsetLatin1name</pre>
<div class="block">Default charset, used internally by PNG for several things</div>
</li>
</ul>
<a name="charsetLatin1">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charsetLatin1</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charsetLatin1</pre>
</li>
</ul>
<a name="charsetUTF8name">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charsetUTF8name</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> charsetUTF8name</pre>
<div class="block">UTF-8 is only used for some chunks</div>
</li>
</ul>
<a name="charsetUTF8">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>charsetUTF8</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> charsetUTF8</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="PngHelperInternal()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PngHelperInternal</h4>
<pre>public&nbsp;PngHelperInternal()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getPngIdSignature()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPngIdSignature</h4>
<pre>public static&nbsp;byte[]&nbsp;getPngIdSignature()</pre>
<div class="block">PNG magic bytes</div>
</li>
</ul>
<a name="doubleToInt100000(double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doubleToInt100000</h4>
<pre>public static&nbsp;int&nbsp;doubleToInt100000(double&nbsp;d)</pre>
</li>
</ul>
<a name="intToDouble100000(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intToDouble100000</h4>
<pre>public static&nbsp;double&nbsp;intToDouble100000(int&nbsp;i)</pre>
</li>
</ul>
<a name="readByte(java.io.InputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readByte</h4>
<pre>public static&nbsp;int&nbsp;readByte(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is)</pre>
</li>
</ul>
<a name="readInt2(java.io.InputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInt2</h4>
<pre>public static&nbsp;int&nbsp;readInt2(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is)</pre>
<div class="block">-1 if eof
 
 PNG uses "network byte order"</div>
</li>
</ul>
<a name="readInt4(java.io.InputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInt4</h4>
<pre>public static&nbsp;int&nbsp;readInt4(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is)</pre>
<div class="block">-1 if eof</div>
</li>
</ul>
<a name="readInt1fromByte(byte[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInt1fromByte</h4>
<pre>public static&nbsp;int&nbsp;readInt1fromByte(byte[]&nbsp;b,
                   int&nbsp;offset)</pre>
</li>
</ul>
<a name="readInt2fromBytes(byte[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInt2fromBytes</h4>
<pre>public static&nbsp;int&nbsp;readInt2fromBytes(byte[]&nbsp;b,
                    int&nbsp;offset)</pre>
</li>
</ul>
<a name="readInt4fromBytes(byte[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readInt4fromBytes</h4>
<pre>public static final&nbsp;int&nbsp;readInt4fromBytes(byte[]&nbsp;b,
                    int&nbsp;offset)</pre>
</li>
</ul>
<a name="writeByte(java.io.OutputStream, byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeByte</h4>
<pre>public static&nbsp;void&nbsp;writeByte(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
             byte&nbsp;b)</pre>
</li>
</ul>
<a name="writeByte(java.io.OutputStream, byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeByte</h4>
<pre>public static&nbsp;void&nbsp;writeByte(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
             byte[]&nbsp;bs)</pre>
</li>
</ul>
<a name="writeInt2(java.io.OutputStream, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeInt2</h4>
<pre>public static&nbsp;void&nbsp;writeInt2(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
             int&nbsp;n)</pre>
</li>
</ul>
<a name="writeInt4(java.io.OutputStream, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeInt4</h4>
<pre>public static&nbsp;void&nbsp;writeInt4(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
             int&nbsp;n)</pre>
</li>
</ul>
<a name="writeInt2tobytes(int, byte[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeInt2tobytes</h4>
<pre>public static&nbsp;void&nbsp;writeInt2tobytes(int&nbsp;n,
                    byte[]&nbsp;b,
                    int&nbsp;offset)</pre>
</li>
</ul>
<a name="writeInt4tobytes(int, byte[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeInt4tobytes</h4>
<pre>public static&nbsp;void&nbsp;writeInt4tobytes(int&nbsp;n,
                    byte[]&nbsp;b,
                    int&nbsp;offset)</pre>
</li>
</ul>
<a name="readBytes(java.io.InputStream, byte[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readBytes</h4>
<pre>public static&nbsp;void&nbsp;readBytes(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is,
             byte[]&nbsp;b,
             int&nbsp;offset,
             int&nbsp;len)</pre>
<div class="block">guaranteed to read exactly len bytes. throws error if it can't</div>
</li>
</ul>
<a name="skipBytes(java.io.InputStream, long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipBytes</h4>
<pre>public static&nbsp;void&nbsp;skipBytes(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;is,
             long&nbsp;len)</pre>
</li>
</ul>
<a name="writeBytes(java.io.OutputStream, byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre>public static&nbsp;void&nbsp;writeBytes(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
              byte[]&nbsp;b)</pre>
</li>
</ul>
<a name="writeBytes(java.io.OutputStream, byte[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeBytes</h4>
<pre>public static&nbsp;void&nbsp;writeBytes(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;os,
              byte[]&nbsp;b,
              int&nbsp;offset,
              int&nbsp;n)</pre>
</li>
</ul>
<a name="logdebug(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logdebug</h4>
<pre>public static&nbsp;void&nbsp;logdebug(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;msg)</pre>
</li>
</ul>
<a name="filterRowNone(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterRowNone</h4>
<pre>public static&nbsp;int&nbsp;filterRowNone(int&nbsp;r)</pre>
</li>
</ul>
<a name="filterRowSub(int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterRowSub</h4>
<pre>public static&nbsp;int&nbsp;filterRowSub(int&nbsp;r,
               int&nbsp;left)</pre>
</li>
</ul>
<a name="filterRowUp(int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterRowUp</h4>
<pre>public static&nbsp;int&nbsp;filterRowUp(int&nbsp;r,
              int&nbsp;up)</pre>
</li>
</ul>
<a name="filterRowAverage(int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterRowAverage</h4>
<pre>public static&nbsp;int&nbsp;filterRowAverage(int&nbsp;r,
                   int&nbsp;left,
                   int&nbsp;up)</pre>
</li>
</ul>
<a name="filterRowPaeth(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filterRowPaeth</h4>
<pre>public static&nbsp;int&nbsp;filterRowPaeth(int&nbsp;r,
                 int&nbsp;left,
                 int&nbsp;up,
                 int&nbsp;upleft)</pre>
</li>
</ul>
<a name="debug(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>debug</h4>
<pre>public static&nbsp;void&nbsp;debug(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Prits a debug message (prints class name, method and line number)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - : Object to print</dd></dl>
</li>
</ul>
<a name="istreamFromFile(java.io.File)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>istreamFromFile</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;istreamFromFile(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;f)</pre>
</li>
</ul>
<a name="setDebug(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDebug</h4>
<pre>public static&nbsp;void&nbsp;setDebug(boolean&nbsp;b)</pre>
<div class="block">Sets a global debug flag. This is bound to a thread.</div>
</li>
</ul>
<a name="isDebug()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDebug</h4>
<pre>public static&nbsp;boolean&nbsp;isDebug()</pre>
</li>
</ul>
<a name="getDigest(ar.com.hjg.pngj.PngReader)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDigest</h4>
<pre>public static&nbsp;long&nbsp;getDigest(<a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj">PngReader</a>&nbsp;pngr)</pre>
</li>
</ul>
<a name="initCrcForTests(ar.com.hjg.pngj.PngReader)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initCrcForTests</h4>
<pre>public static&nbsp;void&nbsp;initCrcForTests(<a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj">PngReader</a>&nbsp;pngr)</pre>
</li>
</ul>
<a name="getRawIdatBytes(ar.com.hjg.pngj.PngReader)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRawIdatBytes</h4>
<pre>public static&nbsp;long&nbsp;getRawIdatBytes(<a href="../../../../ar/com/hjg/pngj/PngReader.html" title="class in ar.com.hjg.pngj">PngReader</a>&nbsp;r)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PngHelperInternal.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../ar/com/hjg/pngj/IPngWriterFactory.html" title="interface in ar.com.hjg.pngj"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../ar/com/hjg/pngj/PngIDatChunkOutputStream.html" title="class in ar.com.hjg.pngj"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?ar/com/hjg/pngj/PngHelperInternal.html" target="_top">Frames</a></li>
<li><a href="PngHelperInternal.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All rights reserved.</small></p>
</body>
</html>
